package com.kang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kang.entity.SysUser;
import com.kang.vo.CaptchaLoginVo;

import java.util.Map;

public interface LoginService extends IService<SysUser> {

    Map<String,Object> informationLogin(SysUser sysUser) throws Exception;

    Map<String,Object> phoneLogin(CaptchaLoginVo captchaLoginVo) throws Exception;

    String sendSms(CaptchaLoginVo captchaLoginVo);

    boolean findPass(CaptchaLoginVo captchaLoginVo) throws Exception;

    Boolean layout(String token);
}
